package com.shp.pojo;

/**
 * Description:
 * 网站访问数据表
 * @author zwl
 * @version 1.0
 * @date 2020/3/19 0:47
 */
public class Views {
    private Integer id;
    /**
     * 该用户是否是第一次访问
     */
    private boolean isFirst = true;
    /**
     * 访问频率
     */
    private int frequency = 0;
    /**
     * 连续访问时间
     */
    private String times;
    private String first_time;
    private String last_time;
    private String ip;
    private String uri;
    /**
     * session的id
     */
    private String sessionId;



    @Override
    public String toString() {
        return "Views{" +
                "id=" + id +
                ", isFirst=" + isFirst +
                ", frequency=" + frequency +
                ", times='" + times + '\'' +
                ", first_time='" + first_time + '\'' +
                ", last_time='" + last_time + '\'' +
                ", ip='" + ip + '\'' +
                ", uri='" + uri + '\'' +
                ", sessionId='" + sessionId + '\'' +
                '}';
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public boolean getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(boolean isFirst) {
        this.isFirst = isFirst;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getFirst_time() {
        return first_time;
    }

    public void setFirst_time(String first_time) {
        this.first_time = first_time;
    }

    public String getLast_time() {
        return last_time;
    }

    public void setLast_time(String last_time) {
        this.last_time = last_time;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }
}
